﻿﻿using System;
using System.Collections.Generic;
using System.Web;
namespace WebMvc.App.Models.Tips.Common
{
    public class sign_up
    {
		public string id=null;
		public string name=null;
		public string type=null;
		public string mobile=null;
		public string site_url=null;
		public string attr1=null;
		public string attr2=null;
		public string attr3=null;
		public string attr4=null;
        public string __name__;
        public sign_up(string name)
        {
            this.__name__ = name;
			this.id = string.Format("{0}.id",__name__);
			this.name = string.Format("{0}.name",__name__);
			this.type = string.Format("{0}.type",__name__);
			this.mobile = string.Format("{0}.mobile",__name__);
			this.site_url = string.Format("{0}.site_url",__name__);
			this.attr1 = string.Format("{0}.attr1",__name__);
			this.attr2 = string.Format("{0}.attr2",__name__);
			this.attr3 = string.Format("{0}.attr3",__name__);
			this.attr4 = string.Format("{0}.attr4",__name__);
        }
        public sign_up()
        {
			this.id = string.Format("{0}.id",__name__);
			this.name = string.Format("{0}.name",__name__);
			this.type = string.Format("{0}.type",__name__);
			this.mobile = string.Format("{0}.mobile",__name__);
			this.site_url = string.Format("{0}.site_url",__name__);
			this.attr1 = string.Format("{0}.attr1",__name__);
			this.attr2 = string.Format("{0}.attr2",__name__);
			this.attr3 = string.Format("{0}.attr3",__name__);
			this.attr4 = string.Format("{0}.attr4",__name__);
        }
        public override string ToString()
        {
            if (__name__ == null)
            {
                return "sign_up";
            }
            else
            {
                return string.Format("sign_up as {0}",__name__);
            }
        }
    }
}